-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add cluster local postgres deployment #50
base: master
Are you sure you want to change the base?
feat: Add cluster local postgres deployment #50
Conversation
oc_process_apply "${templates_dir}/jobs.yaml" | ||
sleep 20 | ||
oc_process_apply "${templates_dir}/worker.yaml" "-p WORKER_ADMINISTRATION_REGION=ingestion -p WORKER_EXCLUDE_QUEUES=GraphImporterTask" | ||
sleep 20 | ||
oc_process_apply "${templates_dir}/worker.yaml" "-p WORKER_ADMINISTRATION_REGION=ingestion -p WORKER_INCLUDE_QUEUES=GraphImporterTask -p WORKER_NAME_SUFFIX=-graph-import" | ||
sleep 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only bare minimum services to support online flow has been enabled.
@@ -57,7 +57,7 @@ for key in "$@"; do | |||
done | |||
[ "$purge_aws_resources" == false ] && echo "Use --purge-aws-resources if you want to also clear previously allocated AWS resources (RDS database, SQS queues, S3 buckets, DynamoDB tables)." | |||
|
|||
openshift_login | |||
# openshift_login |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export KUBECONFIG=
..``or oc login ...
is a must.
Looks good, do you plan to create a separate set of files for the online flow? |
This is to workaround the RDS access issue from Ephemeral cluster.
The proposed solution uses very primitive deployment of postgres which may not be concrete replacement for the existing model. This is just a stop-gap solution and right solution would be using one of popular postgres operator with Backup/Restore configured.